perl-file-basedir (File::BaseDir, find directories and files)

This module can be used to find directories and files as specified by
the Freedesktop.org Base Directory Specification.
